package com.zsr.rabbitmq.utils;

/**
 * 线程睡眠工具类
 * @author zsr
 * @date 2021/8/1 21:55
 */
public class SleepUtils {
    public static void sleep(int second){
        try {
            Thread.sleep(second*1000);
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();//中断
        }

    }
}
